package com.dotflat.physicalevaluate.vo;

import com.dotflat.physicalevaluate.domain.pe.PERecord;
import com.tuo51.foudation.utils.CopyUtils;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 测量标准
 */

@Data
public class RelRecordMeasureVO  implements Serializable {
    private String id;

    private Date created;

    private String measureId;

    private String measureValue;

    private String unit;

    private String rankStr;

    private Integer rankVal;

    private Integer seq;

    private String dimension;

    private String project;

    private MeasureVO measure;

    private DimensionVO dim;

    public static PERecordVO of(PERecord obj){
        PERecordVO ret = new PERecordVO();

        CopyUtils.copyProperties(obj, ret);

        return ret;
    }
}